package com.zima.mall.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ProductsAddQuantity {
    private Integer id;

    private String name;

    private Integer categoryId;

    private String iconUrl;

    private String subImages;

    private String detail;

    private String specParam;

    private float price;

    private  Integer stock;

    private  Integer status;

    private  Integer isHot;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date created;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updated;

    private Integer quantity;
}
